import { createRouter, createWebHistory } from 'vue-router'
import routes from '~pages'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
  // routes: [
  //   {
  //     path: '/',
  //     redirect: '/compa'
  //   },
  //   {
  //     path: '/compa',
  //     component: () => import('../views/CompA.vue')
  //   },
  //   {
  //     path: '/compb',
  //     component: () => import('../views/CompB.vue')
  //   },
  //   {
  //     path: '/compc',
  //     component: () => import('../views/CompC.vue')
  //   },
  //   {
  //     path: '/compd',
  //     component: () => import('../views/CompD.vue')
  //   }
  // ]
})

export default router
